import request from '@/utils/request'
// 查询告警类型的分组情况
export const getgaofenzuapi = () => request.get('pio-microservice-biz/pio/org/subscribe/alarm/group')
// 查询用户单位订阅列表
export const getqiyelist = params => request.get('pio-microservice-biz/pio/org/subscribe/list', { params })
// 查询用户对某单位的订阅相关信息
export const getuserinfo = params => request.get('pio-microservice-biz/pio/org/subscribe/get', { params })
// 获取当前登录人单位下级所有用电单位
export const getqiyexialalist = () => request.get('pio-microservice-biz/pio/common/all/biz/under/company/list')
// 查询当前登录组织机构
export const getgengjiedianapi = () => request.get('/core/security/organization/current')
// 查询下级行政组织机构列表
export const getzhuzhijigouapi = params => request.get('/core/security/organization/child/list', { params })
// 查询系统用户列表
export const getuserlistapis = params => request.get('/core/security/user/list', { params })
// 保存单位订阅信息
export const postbaocuninfoapi=data=>request.post('pio-microservice-biz/pio/org/subscribe/save',data)